<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>网站后台</title>
<link href="/yanglinlin/Public/login/css.css" rel="stylesheet" type="text/css">
<script src="/yanglinlin/Public/assets/js/jquery.min.js"></script>
</head>
<body>
<div class="wzht_w">
<div class="wzht">
<div class="wzht_top"></div>
<div class="wzht_bot">
<div class="wzht_bot_l"></div>

<div class="wzht_bot_m">
<div class="denglu">
<form name="from1" method="POST" action="/yanglinlin/Systemht/Login/index.html" id="from1">
<table cellspacing="0" cellpadding="2" border="0" align="left"> 
<tbody><tr class="yhm"> 
<td class="name" align="right"><label>用户名:</label></td> 
<td class="nrym"> <input name="username" id="txtUserName" size="13" type="text"> </td> 
</tr> 
<tr class="yhm"> 
<td class="name" align="right"><label>密码:</label></td> 
<td class="nrym"><input name="password" id="password" size="13" type="password"> </td> 
</tr> 
<tr class="yhm"> 
<td align="right"></td> 
<td class="nrym"> 
 <button id="login" class="tijiao" type="button"></button></td> 
</tr>
</tbody></table>
</form>
</div>
<div class="xiangqi">
<div class="xiangqi_l"></div>
<div class="xiangqi_m">
售后服务:&nbsp;&nbsp;0371-65852235<br>
400电话:&nbsp;&nbsp;4008-079-029<br>
技术 QQ:&nbsp;&nbsp;123434446<br>
邮箱：&nbsp;&nbsp;hohu@hohu.com.cn<br>
网址：&nbsp;&nbsp;www.hohu.com.cn
</div>
<div class="xiangqi_r">
<h2>业务范围:</h2>
<p>域名主机 | 网站建设 | 手机网站 | 网站托管 | 微网站<br>
推广优化 | 搜狗竞价 | 400电话&nbsp;  | 企业邮局 | 商务通</p>
</div>
</div>
</div>
<div class="wzht_bot_r"></div>
</div>
<div class="wzht_last"></div>
</div>
</div>
 <script type="text/javascript">
 	$("#login").on('click',function(){
 		var data = $('form').serialize();
 		$.ajax({
 			url : "<?php echo U('index');?>",
 			data : data,
 			type : 'post',
 			dataType : 'json',
 			success : function(res){
 				if(res == "OK"){
 					location = "<?php echo U('Index/index');?>";
 				}
 				else{
 					alert(res);
 				}
 			}
 		});
 	});

 	$(document).keydown(function(event){
		if(event.keyCode==13){
			$('#login').click();
		}
 	}); 

 	
 </script>

</body></html>